<template>
  <div> 
    <el-button type="primary" size="default" @click="login">登录</el-button> 
  </div>
</template>
<script>
export default {
  data() {
    return {

    }
  },
  methods: {
    login() {
        this.$router.push("/")
    }
  }
}
</script>